Skip to main content

media-control

Abstract away all the quirks of handling media devices

A library that will handle media by wrapping [enumerateDevices][enumeratedevices] and [getUserMedia][getusermedia] extending both functions with additional logic.

Install

npm install @pexip/media-control

Table of Contents

Introduction

This library is meant to extend the [mediaDevices][mediadevices] api methods such as [getUserMedia][getusermedia], [enumerateDevices][enumeratedevices] and events on media streams and tracks.

The final goal is to have a library that gives a stable and robust way to use these methods while guaranteeing that the developer has better control over which devices are delivered, fail, or exist.

Installation

The package is published to Github registry scoped with @pexip. _Access right to